package com.gxa.zhonglong.service.impl;

import com.gxa.zhonglong.mapper.GoodsListMapper;
import com.gxa.zhonglong.mapper.StoneMapper;
import com.gxa.zhonglong.pojo.GoodsList;
import com.gxa.zhonglong.service.GoodsListService;
import com.gxa.zhonglong.service.StoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author NITRO
 */

@Service("GoodsListService")
@Transactional(rollbackFor = {Throwable.class})
public class GoodsListServiceImpl implements GoodsListService {

    @Autowired
    private GoodsListMapper goodsListMapper;


    @Override
    public List<GoodsList> getGoodsListName() {
        List<GoodsList> goodsLists = goodsListMapper.selectGoodsListName();
        return goodsLists;
    }
}
